Carbon


KCReleaseKeychain

Header: Keychain.h Carbon status: Under Evaluation

Disposes of the memory associated with a keychain reference.

OSStatus KCReleaseKeychain (
    KCRef *keychain
);
Parameter descriptions
keychain

A pointer to a keychain reference. Pass the keychain reference whose memory you want to release. On return, the reference is set to NULL and should not be used again.

function result

A result code.

DISCUSSION

You should call the KCReleaseKeychain function to release the memory occupied by a keychain reference when you are finished with it. You should not use the reference after it has been released.

VERSION NOTES

Available beginning with Keychain Manager 2.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)